﻿#include "operatornode.h"

OperatorNode::OperatorNode(QString op)
{
    m_op = op;
}

uint8_t OperatorNode::interpret()
{
    if (m_op == "and") {
        return '&';
    } else if (m_op == "or"){
        return '|';
    }
    return 0;
}
